# _*_ coding=utf-8 _*_
import pytest
import datetime
import os
import sys
import argparse


def main():
    parser = argparse.ArgumentParser()
    parser.add_argument('-e', dest='sendEmail', nargs='?', default=False, const=True, help='send email or not')
    parser.add_argument('-f', dest='dir_test', default='test', help='dir of test')
    parser.add_argument('-m', dest='mark', default=False, help='run tests with mark')
    parser.add_argument('-r', dest='report', nargs='?', default=False, const=True, help='generate report')
    args = parser.parse_args()
    if args.mark:
        args_list = [f'-m {args.mark}']
        print(args_list)


if __name__ == '__main__':
    main()
